package com.kelaite.procurement.service;

import java.util.List;

import com.kelaite.procurement.entity.TPermission;

public interface PermissionService {
	public TPermission save(TPermission persistence);

	public void deleteByPrimaryKey(Long id);
	
	public void deleteByObject(TPermission persistence);

	public TPermission getObject(Long id);
	
	public List<TPermission> getAll();

	public List<TPermission> getByProperty(String property, Object value);
	
}
